package com.mmp.main.servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.mmp.common.servlet.BasicServlet;

@WebServlet(urlPatterns = { "/UpdateDeviceInfoSearch", "/TransferDeviceSearch", "/ScrappDeviceSearch",
		"/PpmFollowupSearch", "/OpenJobOrderSearch", "/ViewDeviceCardSearch" })
public class SearchForDeviceDisplayServlet extends BasicServlet {

	public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

		// String deviceCode = request.getParameter("deviceCode");
		// String deviceSerial = request.getParameter("deviceSerial");
		//
		// if (!deviceCode.isEmpty() || !deviceSerial.isEmpty())
		// setMessage(request, "no search result");
		// Common.log("request servlet path ********************* " +
		// request.getServletPath());
		// Common.log("request uri ********************* " +
		// request.getRequestURI());
		forward(request, response, "SearchForDevice.jsp");
	}
}
